package com.ruoyi.system.mapper.estate;

import java.util.List;
import com.ruoyi.system.domain.estate.FeeBill;

/**
 * 物业费账单Mapper接口
 * 
 * @author ruoyi
 */
public interface FeeBillMapper
{
    /**
     * 查询物业费账单
     * 
     * @param billId 物业费账单主键
     * @return 物业费账单
     */
    public FeeBill selectFeeBillById(Long billId);

    /**
     * 查询物业费账单列表
     * 
     * @param feeBill 物业费账单
     * @return 物业费账单集合
     */
    public List<FeeBill> selectFeeBillList(FeeBill feeBill);

    /**
     * 新增物业费账单
     * 
     * @param feeBill 物业费账单
     * @return 结果
     */
    public int insertFeeBill(FeeBill feeBill);

    /**
     * 修改物业费账单
     * 
     * @param feeBill 物业费账单
     * @return 结果
     */
    public int updateFeeBill(FeeBill feeBill);

    /**
     * 删除物业费账单
     * 
     * @param billId 物业费账单主键
     * @return 结果
     */
    public int deleteFeeBillById(Long billId);

    /**
     * 批量删除物业费账单
     * 
     * @param billIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFeeBillByIds(Long[] billIds);
    
    /**
     * 查询物业费账单总数
     * 
     * @param feeBill 物业费账单
     * @return 结果
     */
    public int selectCount(FeeBill feeBill);
    
    /**
     * 根据状态查询物业费账单数量
     * 
     * @param status 缴费状态
     * @return 结果
     */
    public int selectCountByStatus(String status);
} 